package com.grogshop.manage.domain;

/**
 * Created by jiamengyu on 4/7/2015.
 */
public class ImageFloder {
    /**
     * ????????
     */
    private String dir;

    /**
     * ????????
     */
    private String firstImagePath;

    /**
     * ??????
     */
    private String name;

    /**
     * ?????
     */
    private int count;

    public String getDir() {
        return dir;
    }

    public void setDir(String dir) {
        this.dir = dir;
        this.name = this.dir.substring(this.dir.lastIndexOf("/"));
    }

    public String getFirstImagePath() {
        return firstImagePath;
    }

    public void setFirstImagePath(String firstImagePath) {
        this.firstImagePath = firstImagePath;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public String getName() {
        return name;
    }
}
